Crate anywhere

source ·

Modules

  • You may be wondering “why not use protobuf/gRPC/tarpc/something else?” I initially tried both tarpc and proto/grpc. For proto, I either had to write codegen, macros for codegen, or manually write out the protos. And then I’d have to write macros to actually hook the client and server up. For tarpc, the messiness of wrapper and interactions with async_trait made things pretty complex. The main macro I had to write for tarpc was pretty similar to the one below.

Traits